<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
    <body>
        <s:url action="list" id="descrsUrl"/>

        <div style="width: 300px;">
            <div style="text-align: right;">
                <s:a notifyTopics="/refresh">Refresh</s:a>
            </div>           
        </div>

        <br/>

        <div style="width: 300px;border:1px solid">
            <p>Create an User</p>
            <s:form action="saveUser.action" validate="true">
                <s:textfield id="id" name="user.id" cssStyle="display:none"/>
                <s:textfield id="name" label="Name" name="user.name"/>
                <s:submit targets="users" notifyTopics="/saveUser"/>
            </s:form>
        </div>
    </body>
</html>

